package com.sl.mes.db.dao;

import com.sl.mes.db.vo.MesUserAccount;
import com.sl.mes.db.vo.MesUserAccountExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MesUserAccountMapper {
    long countByExample(MesUserAccountExample example);

    int deleteByExample(MesUserAccountExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MesUserAccount record);

    int insertSelective(MesUserAccount record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_user_account
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesUserAccount selectOneByExample(MesUserAccountExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_user_account
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesUserAccount selectOneByExampleSelective(@Param("example") MesUserAccountExample example, @Param("selective") MesUserAccount.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_user_account
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    List<MesUserAccount> selectByExampleSelective(@Param("example") MesUserAccountExample example, @Param("selective") MesUserAccount.Column ... selective);

    List<MesUserAccount> selectByExample(MesUserAccountExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_user_account
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesUserAccount selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") MesUserAccount.Column ... selective);

    MesUserAccount selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MesUserAccount record, @Param("example") MesUserAccountExample example);

    int updateByExample(@Param("record") MesUserAccount record, @Param("example") MesUserAccountExample example);

    int updateByPrimaryKeySelective(MesUserAccount record);

    int updateByPrimaryKey(MesUserAccount record);
}